//
//  aRLaughtIV.h
//  MusicGetPro
//
//  Created by aReu on 2016/11/18.
//  Copyright © 2016年 aReu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIImageView+WebCache.h"

typedef enum {
    FullScreenAdType = 1,//全屏的广告
    LogoAdType = 0,//带logo的广告
}AdType;

typedef void (^aRClick) (NSInteger tag);
@interface aRLaughtIV : UIView

@property (strong, nonatomic) UIImageView *aDImgView;
@property (strong, nonatomic) UIWindow *window;
@property (assign, nonatomic) NSInteger adTime; //倒计时总时长,默认6秒
@property (strong, nonatomic) UIButton *skipBtn;
@property (nonatomic, copy)aRClick clickBlock;

- (instancetype)initWithWindow:(UIWindow *)window andType:(NSInteger)type andImgUrl:(NSString *)url;

@end